package com.cs.framework.ui.builder.xml;

import com.cs.framework.ui.builder.xml.model.FieldInfoForXml;
import com.cs.framework.ui.model.UIInfo;
import com.cs.framework.ui.util.UIConstant;

/**
 * 构建字段
 * 
 * @author hedongzhou
 * 
 */
public class FieldBuilder extends AbstractXmlUIBuilder {

	/**
	 * 构建字段
	 * 
	 * @param fieldId
	 *            字段ID
	 * @param superPanelId
	 *            父面板ID（无用，传空）
	 * @return
	 */
	public UIInfo build(String fieldId, String superPanelId) {
		return build(fieldId, UIConstant.FIELD_XML_PATH, FieldInfoForXml.class);
	}

}
